GetEnum<T>(IPdfDict,PdfName,T) Method
In This Topic
Gets the enum value associated with the specified key. If the value does not exist or cannot be converted to an enum, returns .
Syntax
'Declaration
Public Overloads Shared Function GetEnum(Of As {New, Struct})( _
ByVal As IPdfDict, _
ByVal As PdfName, _
ByVal As _
) As
public static GetEnum<>(
IPdfDict ,
PdfName ,
)
where T: new(), struct
Parameters
- dict
- The current dictionary.
- key
- The key identifying the value.
- defValue
- The default value.
Type Parameters
- T
Return Value
The value associated with the specified key, or .
See Also